package service;

import java.util.Map;

import models.Actor;
import models.Doc;
import models.Doc.Type;
import models.LoanApp.LoanType;
import processor.ActorProcessor;

public interface ActorService {

    public ActorProcessor getProcessor();

    public Actor getDBActor();

    public LoanAppService getCurrentLoanApplication();

    public boolean isOptionalDocument(Type docType);

    public boolean isRequiredDocument(Type docType);

    public Map<Doc.Type, DocService> getAllBorrowerDocs(LoanType loanType) throws Throwable;

    public Map<Doc.Type, DocService> getApplicableBorrowerDocs(LoanType loanType);

    public double getAvailableCash();

}
